Factorial of Number Functions in C